﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apex.Common.Base.ViewModels;
using Apex.Common.MVVM;
using Apex.Script.Models;

namespace Apex.Script.ViewModels
{
    public class CharacterViewModel : NamedTrackableObjectViewModel<Character>
    {
        public string Backstory
        {
            get { return Model.Backstory; }
            set { Model.Backstory = value; OnPropertyChanged("Backstory"); }
        }

        public Uri ImageURI
        {
            get { return Model.ImageURI; }
            set { Model.ImageURI = value; OnPropertyChanged("ImageURI"); }
        }

        public CharacterViewModel()
        {

        }

        public CharacterViewModel(Character model)
            : base(model)
        {

        }
    }
}
